﻿@model KingRoad.EPM.Web.Areas.Device.Models.MeterModel
@{
    ViewBag.Title = "仪表状态列表";
}
@using KingRoad.EPM.Common.Helper;
@using (Html.BeginForm("SplitPageStatus", "Meter", null, FormMethod.Post, new { id = "pagerForm", onsubmit = "return navTabSearch(this,'MeterStatus');" }))
{
    <input type="hidden" name="pageNum" value="1" />
    <input type="hidden" name="numPerPage" value="@(ViewBag.numPerPage)" />

    <ul class="searchBar" style="display:none">
        <li><span>仪表编号：</span>
            <input type="text" name="iput_code" value="@(ViewBag.iput_code)" />
        </li>
        <li><span>仪表型号：</span>
            <input type="text" name="iput_type" value="@(ViewBag.iput_type)" />
        </li>
        <li>
            <button type="submit" class="btn btn-success btn-xs">
                搜索</button>
        </li>
    </ul>
    <ul class="searchBar">
        <li><span>刷新间隔：</span>
             <select id="sel_time" name="sel_time" style="width: auto">
              
                    <option value="10">10秒</option> 
                  <option value="30" selected>30秒</option> 
                  <option value="60">60秒</option> 
                  <option value="120">120秒</option> 
                
            </select>
        </li>
         <li><span>上次刷新时间：   @DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")</span> 
         
         </li>
          <li>
            <button type="submit" id="sub" class="btn btn-success btn-xs">
                立即刷新</button>
        </li>
    </ul>
}


<div layouth="116">
<table class="list" width="100%" layouth="148" nowraptd="false" >
    <thead>
        <tr>
          
            <th width="10" rowspan="2" align="center">
                序号
            </th>
            <th width="10" rowspan="2" align="center">
                仪表编号
            </th>
            <th width="30" rowspan="2" align="center">
                仪表型号
            </th>
            <th width="80" rowspan="2" align="center">
                位置
            </th>
            <th width="50" rowspan="2" align="center">
                授权日期
            </th>
            <th width="30" rowspan="2" align="center">
                使用状态
            </th>
             <th width="30" rowspan="2" align="center">
                心跳时间
            </th>
         
             <th width="150" align="center" colspan="5">
                状态说明
            </th>
        </tr>
        <tr>
               <th width="30" align="center">
               称台传感器
            </th>
               <th width="30" align="center">
               光栅
            </th>
               <th width="30" align="center">
               线圈
            </th>
               <th width="30" align="center">
               轮胎识别器
            </th>
               <th width="30" align="center">
               通讯
            </th>
        </tr>
    </thead>
    <tbody>
        @{ int num = (ViewBag.pageNum - 1) * ViewBag.numPerPage;}
        @foreach (var item in Model.list)
        {
            num += 1;
            <tr target="ids" rel="@item.Id">
                <td style="display:none">
                    <input name="ids" value="@item.Id" type="checkbox">
                </td>
                <td width="10" align="center">@num
                </td>
                <td width="10" align="center">
                    <a style="color:#000" href="@Url.Action("MeterEdit", "Meter", new { id = item.Id,target="view" })" rel="tzgl_zyry_detail" mask="true" target="dialog" width="690" height="560">@item.Code</a>
                </td>
                <td width="30" align="center">@item.Model
                </td>
                <td width="80" align="center">@item.RoadName
                </td>
               <td width="50" align="center">@Convert.ToDateTime(item.BandDate).ToString("yyyy-MM-dd")
                </td>
                  <td width="30" align="center">@item.UseState
                </td>
                <td width="30" align="center">@if (item.RoadName!=null)
                                              {
                                                  @Convert.ToDateTime(item.ReportTime).ToString("yyyy-MM-dd HH:mm:ss")
                                              }
                </td>
                
                     @if (item.RoadName != null)
                     {
                         switch (item.State)
                         {
                             case 0:       
                               <td width="30" align="center">
                                        <img src="green.png" title="称台传感器：正常" />  </td>
                      <td width="30" align="center">
                                 <img src="green.png" title="光栅：正常" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="线圈：正常" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="轮胎识别器：正常" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="通讯：正常" /></td>
                                 break;
                               case 1:
                                <td width="30" align="center">
                                  <img src="red.png" title="称台传感器：故障" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="主车辆分离器：正常" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="辅助车辆分离器：正常" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="轮胎识别器器：正常" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="通讯：正常" /></td>
                             
                                 break;
                              case 2:
                      <td width="30" align="center">
                                  <img src="green.png" title="称台传感器：正常" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="光栅：故障" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="线圈：正常" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="轮胎识别器：正常" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="通讯：正常" /></td>
                                 break;
                              case 3:
                      <td width="30" align="center">
                                  <img src="red.png" title="称台传感器：故障" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="光栅：故障" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="线圈：正常" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="轮胎识别器：正常" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="通讯：正常" /></td>
                                 break;
                              case 4:
                      <td width="30" align="center">
                                  <img src="green.png" title="称台传感器：正常" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="光栅：正常" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="线圈：故障" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="轮胎识别器：正常" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="通讯：正常" /></td>
                                 break;
                              case 5:
                      <td width="30" align="center">
                                  <img src="red.png" title="称台传感器：故障" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="光栅：正常" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="线圈：故障" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="轮胎识别器：正常" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="通讯：正常" /></td>
                                 break;
                               case 6:
                      <td width="30" align="center">
                                  <img src="green.png" title="称台传感器：正常" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="光栅：故障" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="线圈：故障" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="轮胎识别器：正常" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="通讯：正常" /></td>
                                 break;
                             case 7:
                      <td width="30" align="center">
                                  <img src="red.png" title="称台传感器：故障" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="光栅：故障" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="线圈：故障" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="轮胎识别器：正常" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="通讯：正常" /></td>
                                 break;
                             case 8:
                      <td width="30" align="center">
                                  <img src="green.png" title="称台传感器：正常" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="光栅：正常" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="线圈：正常" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="轮胎识别器：故障" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="通讯：正常" /></td>
                                 break;
                              case 9:
                      <td width="30" align="center">
                                  <img src="red.png" title="称台传感器：故障" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="光栅：正常" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="线圈：正常" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="轮胎识别器：故障" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="通讯：正常" /></td>
                                 break;
                               case 10:
                      <td width="30" align="center">
                                  <img src="green.png" title="称台传感器：正常" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="光栅：故障" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="线圈：正常" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="轮胎识别器：故障" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="通讯：正常" /></td>
                                 break;
                               case 11:
                      <td width="30" align="center">
                                  <img src="red.png" title="称台传感器：故障" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="光栅：故障" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="线圈：正常" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="轮胎识别器：故障" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="通讯：正常" /></td>
                                 break;
                               case 12:
                      <td width="30" align="center">
                                  <img src="green.png" title="称台传感器：正常" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="光栅：正常" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="线圈：故障" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="轮胎识别器：故障" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="通讯：正常" /></td>
                                 break;
                               case 13:
                      <td width="30" align="center">
                                  <img src="red.png" title="称台传感器：故障" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="光栅：正常" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="线圈：故障" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="轮胎识别器：故障" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="通讯：正常" /></td>
                                 break;
                               case 14:
                      <td width="30" align="center">
                                  <img src="green.png" title="称台传感器：正常" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="光栅：故障" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="线圈：故障" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="轮胎识别器：故障" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="通讯：正常" /></td>
                                 break;
                               case 15:
                      <td width="30" align="center">
                                  <img src="red.png" title="称台传感器：故障" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="光栅：故障" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="线圈：故障" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="轮胎识别器：故障" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="通讯：正常" /></td>
                                 break;
                               case 16:
                      <td width="30" align="center">
                                  <img src="green.png" title="称台传感器：正常" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="光栅：正常" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="线圈：正常" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="轮胎识别器：正常" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="通讯：故障" /></td>
                                 break;
                               case 17:
                      <td width="30" align="center">
                                  <img src="red.png" title="称台传感器：故障" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="光栅：正常" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="线圈：正常" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="轮胎识别器：正常" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="通讯：故障" /></td>
                                 break;
                               case 18:
                      <td width="30" align="center">
                                  <img src="green.png" title="称台传感器：正常" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="光栅：故障" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="线圈：正常" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="轮胎识别器：正常" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="通讯：故障" /></td>
                                 break;
                               case 19:
                      <td width="30" align="center">
                                  <img src="red.png" title="称台传感器：故障" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="光栅：故障" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="线圈：正常" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="轮胎识别器：正常" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="通讯：故障" /></td>
                                 break;
                               case 20:
                      <td width="30" align="center">
                                  <img src="green.png" title="称台传感器：正常" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="光栅：正常" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="线圈：故障" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="轮胎识别器：正常" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="通讯：故障" /></td>
                                 break;
                               case 21:
                      <td width="30" align="center">
                                  <img src="red.png" title="称台传感器：故障" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="光栅：正常" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="线圈：故障" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="轮胎识别器：正常" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="通讯：故障" /></td>
                                 break;
                               case 22:
                      <td width="30" align="center">
                                  <img src="green.png" title="称台传感器：正常" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="光栅：故障" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="线圈：故障" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="轮胎识别器：正常" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="通讯：故障" /></td>
                                 break;
                               case 23:
                      <td width="30" align="center">
                                  <img src="red.png" title="称台传感器：故障" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="光栅：故障" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="线圈：故障" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="轮胎识别器：正常" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="通讯：故障" /></td>
                                 break;
                               case 24:
                      <td width="30" align="center">
                                  <img src="green.png" title="称台传感器：正常" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="光栅：正常" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="线圈：正常" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="轮胎识别器：故障" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="通讯：故障" /></td>
                                 break;
                               case 25:
                      <td width="30" align="center">
                                  <img src="red.png" title="称台传感器：故障" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="光栅：正常" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="线圈：正常" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="轮胎识别器：故障" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="通讯：故障" /></td>
                                 break;
                               case 26:
                      <td width="30" align="center">
                                  <img src="green.png" title="称台传感器：正常" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="光栅：故障" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="线圈：正常" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="轮胎识别器：故障" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="通讯：故障" /></td>
                                 break;
                              case 27:
                      <td width="30" align="center">
                                  <img src="red.png" title="称台传感器：故障" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="光栅：故障" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="线圈：正常" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="轮胎识别器：故障" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="通讯：故障" /></td>
                                 break;
                               case 28:
                      <td width="30" align="center">
                                  <img src="green.png" title="称台传感器：正常" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="光栅：正常" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="线圈：故障" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="轮胎识别器：故障" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="通讯：故障" /></td>
                                 break;
                              case 29:
                      <td width="30" align="center">
                                  <img src="red.png" title="称台传感器：故障" /></td>
                      <td width="30" align="center">
                                 <img src="green.png" title="光栅：正常" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="线圈：故障" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="轮胎识别器：故障" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="通讯：故障" /></td>
                                 break;
                              case 30:
                      <td width="30" align="center">
                                  <img src="green.png" title="称台传感器：正常" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="光栅：故障" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="线圈：故障" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="轮胎识别器：故障" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="通讯：故障" /></td>
                                 break;
                               case 31:
                      <td width="30" align="center">
                                  <img src="red.png" title="称台传感器：故障" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="光栅：故障" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="线圈：故障" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="轮胎识别器：故障" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="通讯：故障" /></td>
                                 break;
                                 
                            
                             default:
                      <td width="30" align="center">
                                  <img src="red.png" title="称台传感器：故障" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="光栅：故障" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="线圈：故障" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="轮胎识别器：故障" /></td>
                      <td width="30" align="center">
                                 <img src="red.png" title="通讯：故障" /></td>
                                 break;
                         }
                     }
                     else { 
                     
                     }
                    
                   
                    @* <img src="green.png" title="称台传感器：正常" />
                     <img src="red.png" title="主车辆分离器：故障" />
                     <img src="red.png" title="辅助车辆分离器：故障" />
                     <img src="red.png" title="轮胎识别器器：故障" />
                     <img src="red.png" title="通讯：故障" />
                     <img src="red.png" title="缓存：溢出" />*@
        
            
            </tr>
               
        }
    </tbody>
</table>
</div>
<div class="panelBar" style="border-bottom: none;">
    <div class="pages"  style="float: right">
        <span>显示</span>
        <select class="comsplitpage" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
            <option value="10" @(ViewBag.numPerPage == 10 ? "selected='selected'" : "")>10</option>
                <option value="20" @(ViewBag.numPerPage == 20 ? "selected='selected'" : "")>20</option>
                <option value="50" @(ViewBag.numPerPage == 50 ? "selected='selected'" : "")>50</option>
        </select>
        <span>条，共@(ViewBag.pagenumshown)页,@(ViewBag.totalcount)条</span>
    </div>
    <div class="pagination" style="margin:0px;float:left; margin-left:35%"  targettype="navTab"  totalcount="@(ViewBag.totalcount)" numperpage="@(ViewBag.numPerPage)" pagenumshown="10" currentpage="@(ViewBag.pageNum)">
    </div>
        <script type="text/javascript">
            $(document).ready(function () {
               
            $("select[name='sel_time']:eq(0)").find("option[value='@(ViewBag.sel_time)']").attr("selected", true);
                timeRefresh();
            });
            function timeRefresh() {
                setTimeout("$('#sub').click();", $("#sel_time").val()*1000);
            }
    </script>
</div>
   @* <td width="100" align="center">
                     @if (item.RoadName != null)
                     {
                         switch (item.State)
                         {
                             case 0:
                                 <font>称台传感器：正常</font>      
                                 <font>光栅：正常 </font>
                                 <font>线圈：正常 </font><br />
                                 <font>轮胎识别器：正常 </font>
                                 <font>通讯：正常 </font>
                                 break;
                             case 1:
                                 <font>称台传感器：故障</font>
                                 <font>光栅：正常 </font>
                                 <font>线圈：正常 </font><br />
                                 <font>轮胎识别器：正常 </font>
                                 <font>通讯：正常 </font>
                                 break;
                              case 2:
                                 <font>称台传感器：正常</font>
                                 <font>光栅：故障 </font>
                                 <font>线圈：正常 </font><br />
                                 <font>轮胎识别器：正常 </font>
                                 <font>通讯：正常 </font>
                                 break;
                              case 3:
                                  <font>称台传感器：故障</font>
                                 <font>光栅：故障 </font>
                                 <font>线圈：正常 </font><br />
                                 <font>轮胎识别器：正常 </font>
                                 <font>通讯：正常 </font>
                                 break;
                              case 4:
                                  <font>称台传感器：正常</font>
                                 <font>光栅：正常 </font>
                                 <font>线圈：故障 </font><br />
                                 <font>轮胎识别器：正常 </font>
                                 <font>通讯：正常 </font>
                                 
                                 break;
                              case 5:
                                 <font>称台传感器：故障</font>
                                 <font>光栅：正常 </font>
                                 <font>线圈：故障 </font><br />
                                 <font>轮胎识别器：正常 </font>
                                 <font>通讯：正常 </font>
                                 
                                 break;
                               case 6:
                               <font>称台传感器：正常</font>
                                 <font>光栅：故障 </font>
                                 <font>线圈：故障 </font><br />
                                 <font>轮胎识别器：正常 </font>
                                 <font>通讯：正常 </font>
                                  
                                 break;
                             case 7:
                                  <font> 称台传感器：故障</font> 
                                 <font> 光栅：故障</font> 
                                 <font> 线圈：故障</font> 
                                 <font> 轮胎识别器：正常</font> 
                                 <font> 通讯：正常</font> 
                                 break;
                             case 8:
                                  <font> 称台传感器：正常</font> 
                                 <font> 光栅：正常</font> 
                                 <font> 线圈：正常</font> 
                                 <font> 轮胎识别器：故障</font> 
                                 <font> 通讯：正常</font> 
                                 break;
                              case 9:
                                  <font> 称台传感器：故障</font> 
                                 <font> 光栅：正常</font> 
                                 <font> 线圈：正常</font> 
                                 <font> 轮胎识别器：故障</font> 
                                 <font> 通讯：正常</font> 
                                 break;
                               case 10:
                                  <font> 称台传感器：正常</font> 
                                 <font> 光栅：故障</font> 
                                 <font> 线圈：正常</font> 
                                 <font> 轮胎识别器：故障</font> 
                                 <font> 通讯：正常</font> 
                                 break;
                               case 11:
                                  <font> 称台传感器：故障</font> 
                                 <font> 光栅：故障</font> 
                                 <font> 线圈：正常</font> 
                                 <font> 轮胎识别器：故障</font> 
                                 <font> 通讯：正常</font> 
                                 break;
                               case 12:
                                  <font> 称台传感器：正常</font> 
                                 <font> 光栅：正常</font> 
                                 <font> 线圈：故障</font> 
                                 <font> 轮胎识别器：故障</font> 
                                 <font> 通讯：正常</font> 
                                 break;
                               case 13:
                                  <font> 称台传感器：故障</font> 
                                 <font> 光栅：正常</font> 
                                 <font> 线圈：故障</font> 
                                 <font> 轮胎识别器：故障</font> 
                                 <font> 通讯：正常</font> 
                                 break;
                               case 14:
                                  <font> 称台传感器：正常</font> 
                                 <font> 光栅：故障</font> 
                                 <font> 线圈：故障</font> 
                                 <font> 轮胎识别器：故障</font> 
                                 <font> 通讯：正常</font> 
                                 break;
                               case 15:
                                  <font> 称台传感器：故障</font> 
                                 <font> 光栅：故障</font> 
                                 <font> 线圈：故障</font> 
                                 <font> 轮胎识别器：故障</font> 
                                 <font> 通讯：正常</font> 
                                 break;
                               case 16:
                                  <font> 称台传感器：正常</font> 
                                 <font> 光栅：正常</font> 
                                 <font> 线圈：正常</font> 
                                 <font> 轮胎识别器：正常</font> 
                                 <font> 通讯：故障</font> 
                                 break;
                               case 17:
                                  <font> 称台传感器：故障</font> 
                                 <font> 光栅：正常</font> 
                                 <font> 线圈：正常</font> 
                                 <font> 轮胎识别器：正常</font> 
                                 <font> 通讯：故障</font> 
                                 break;
                               case 18:
                                  <font> 称台传感器：正常</font> 
                                 <font> 光栅：故障</font> 
                                 <font> 线圈：正常</font> 
                                 <font> 轮胎识别器：正常</font> 
                                 <font> 通讯：故障</font> 
                                 break;
                               case 19:
                                  <font> 称台传感器：故障</font> 
                                 <font> 光栅：故障</font> 
                                 <font> 线圈：正常</font> 
                                 <font> 轮胎识别器：正常</font> 
                                 <font> 通讯：故障</font> 
                                 break;
                               case 20:
                                  <font> 称台传感器：正常</font> 
                                 <font> 光栅：正常</font> 
                                 <font> 线圈：故障</font> 
                                 <font> 轮胎识别器：正常</font> 
                                 <font> 通讯：故障</font> 
                                 break;
                               case 21:
                                  <font> 称台传感器：故障</font> 
                                 <font> 光栅：正常</font> 
                                 <font> 线圈：故障</font> 
                                 <font> 轮胎识别器：正常</font> 
                                 <font> 通讯：故障</font> 
                                 break;
                               case 22:
                                  <font> 称台传感器：正常</font> 
                                 <font> 光栅：故障</font> 
                                 <font> 线圈：故障</font> 
                                 <font> 轮胎识别器：正常</font> 
                                 <font> 通讯：故障</font> 
                                 break;
                               case 23:
                                  <font> 称台传感器：故障</font> 
                                 <font> 光栅：故障</font> 
                                 <font> 线圈：故障</font> 
                                 <font> 轮胎识别器：正常</font> 
                                 <font> 通讯：故障</font> 
                                 break;
                               case 24:
                                  <font> 称台传感器：正常</font> 
                                 <font> 光栅：正常</font> 
                                 <font> 线圈：正常</font> 
                                 <font> 轮胎识别器：故障</font> 
                                 <font> 通讯：故障</font> 
                                 break;
                               case 25:
                                  <font> 称台传感器：故障</font> 
                                 <font> 光栅：正常</font> 
                                 <font> 线圈：正常</font> 
                                 <font> 轮胎识别器：故障</font> 
                                 <font> 通讯：故障</font> 
                                 break;
                               case 26:
                                  <font> 称台传感器：正常</font> 
                                 <font> 光栅：故障</font> 
                                 <font> 线圈：正常</font> 
                                 <font> 轮胎识别器：故障</font> 
                                 <font> 通讯：故障</font> 
                                 break;
                              case 27:
                                  <font> 称台传感器：故障</font> 
                                 <font> 光栅：故障</font> 
                                 <font> 线圈：正常</font> 
                                 <font> 轮胎识别器：故障</font> 
                                 <font> 通讯：故障</font> 
                                 break;
                               case 28:
                                  <font> 称台传感器：正常</font> 
                                 <font> 光栅：正常</font> 
                                 <font> 线圈：故障</font> 
                                 <font> 轮胎识别器：故障</font> 
                                 <font> 通讯：故障</font> 
                                 break;
                              case 29:
                                  <font> 称台传感器：故障</font> 
                                 <font> 光栅：正常</font> 
                                 <font> 线圈：故障</font> 
                                 <font> 轮胎识别器：故障</font> 
                                 <font> 通讯：故障</font> 
                                 break;
                              case 30:
                                  <font> 称台传感器：正常</font> 
                                 <font> 光栅：故障</font> 
                                 <font> 线圈：故障</font> 
                                 <font> 轮胎识别器：故障</font> 
                                 <font> 通讯：故障</font> 
                                 break;
                               case 31:
                                  <font> 称台传感器：故障</font> 
                                 <font> 光栅：故障</font> 
                                 <font> 线圈：故障</font> 
                                 <font> 轮胎识别器：故障</font> 
                                 <font> 通讯：故障</font> 
                                 break;
                                 
                            
                             default:
                                  <font> 称台传感器：故障</font> 
                                 <font> 光栅：故障</font> 
                                 <font> 线圈：故障</font> 
                                 <font> 轮胎识别器：故障</font> 
                                 <font> 通讯：故障</font> 
                                 break;
                         }
                     }
                     else { 
                     
                     }
              
                </td>*@